package com.fubowen.reader.db.bean

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(indices = [Index(value = ["name"], unique = true)])
data class ThemeBean(
    @PrimaryKey(autoGenerate = true)
    var id: Int = 0,
    val name: String = "",
    var description: String = "",
    var parentId: Int = -1,
    var isUsed: Boolean = false,
    var version: Int = 0
)